﻿/*
 * Header2
 * 
 * initial implementation : 3.12.2008
 *
 * Copyright (c) Adam Sida, asida@centrum.cz.
 * All rights reserved.
 * 
 * for license see Petra.Gis.License.txt
 */
using System;
using System.Collections.Generic;


namespace Petra.Gis.ImagingServices.Cit
{
  public class Header2
  {
    public byte   Gain;                 /* A-to-D converter gain */
    public byte   OffsetThreshold;      /* A-to-D parameters */
    public byte   ViewScreen1;          /* Frame buffer 1 */
    public byte   ViewScreen2;          /* Frame buffer 2 */
    public byte   ViewNumber;           /* Number of window to display image */
    public byte   Reserved1;            /* Unused (always 0) */
    public ushort Reserved2;            /* Unused (always 0) */
    public double AspectRatio;          /* Pixel aspect ratio */
    public uint   NextImageOffset;      /* Offset to next image in the file */
    public ushort ColorTableType;       /* Type of color table */
    public ushort Reserved3;            /* Unused (always 0) */
    public uint   ColorTableEntries;    /* Number of color table entries */
    public uint   StartOfAppPacket;     /* Offset to start of application packet */
    public uint   LenOfDataPackets;     /* Total length of all app packets in WORDs */
    public ushort[]   Reserved;        /* 110 Unused (always 0) */
    public ushort[]   ApplicationData; /* 128 Application-dependent data */


  }
}
